Using Adifor to Compute Dense and Sparse Jacobians

نویسندگان

  • Christian H. Bischof
  • Paul Hovland
چکیده

ADIFOR is a source translator that, given a collection of Fortran subroutines for the computation of a \function," produces Fortran code for the computation of the derivatives of this function. More speciically, ADIFOR produces code to compute the matrix-matrix product JS, where J is the Jacobian of the \function" with respect to the user-deened independent variables, and S is the composition of the derivative objects corresponding to the independent variables. This interface is exible; by setting S = x, one can compute the matrix-vector product Jx, or by setting S = I, one can compute the whole Jacobian J. Other initializations of S allow one to exploit a known sparsity structure of J. This paper illustrates the proper initialization of ADIFOR-generated derivative codes and the exploitation of a known sparsity structure of J.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Adifor Working Note #2: Using Adifor to Compute Dense and Sparse Jacobians Using Adifor to Compute Dense and Sparse Jacobians

ADIFOR is a source translator that, given a collection of Fortran subroutines for the computation of a \function," produces Fortran code for the computation of the derivatives of this function. More speciically, ADIFOR produces code to compute the matrix-matrix product JS, where J is the Jacobian of the \function" with respect to the user-deened independent variables, and S is the composition o...

متن کامل

Performance optimization of Sparse Matrix-Vector Multiplication for multi-component PDE-based applications using GPUs

Simulations of many multi-component PDE-based applications, such as petroleum reservoirs or reacting flows, are dominated by the solution, on each time step and within each Newton step, of large sparse linear systems. The standard solver is a preconditioned Krylov method. Along with application of the preconditioner, memory-bound Sparse Matrix-Vector Multiplication (SpMV) is the most time-consu...

متن کامل

ADIFOR - Generating Derivative Codes form Fortran Programs

The numerical methods employed in the solution of many scientiic computing problems require the computation of derivatives of a function f : R n ! R m. Both the accuracy and the computationalrequirements of the derivativecomputation are usually of critical importance for the robustness and speed of the numerical solution. ADIFOR (Automatic Diierentiation In FORtran) is a source transformation t...

متن کامل

Spatial Analysis of Central Zagros Forest Fragmentations for Conservation and Restoration Purposes (A Case Study: Posht kuh Forests, Fereydoonshahr, Isfahan Province)

In the current study, conservation strategies were employed for the spatial analysis of forest fragmentation and field assessment approaches in a forest landscape of Central Zagros, in the western part of Isfahan province, Iran. Vegetation and soil properties were accordingly studied in 15 forest sites with various densities including dense, semi-sparse and sparse-forests with 839.2 km2. In the...

متن کامل

ADIFOR Generating Derivative Codes from Fortran Programs

The numericalmethods employed in the solution of many scienti c computing problems require the computation of derivatives of a function f R R Both the accuracy and the computational requirements of the derivative computation are usually of critical importance for the robustness and speed of the numerical solution ADIFOR Automatic Di erentiation In FORtran is a source transformation tool that ac...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1991